﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PowerManager.aspx.cs" EnableEventValidation="false"
    Inherits="Admin_Power_PowerManager" Theme="admin_skin" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>权限管理</title>
    <link href="../../App_Themes/css/admin_css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
        </asp:ScriptManager>
        <table cellpadding="0" cellspacing="0" border="0" class="table_rightFrame">
            <tr>
                <td align="left">
                    <table width="100%" border="0" cellpadding="0" cellspacing="1" style="background-color: #999999">
                        <tr style="background-color: #ced7f7">
                            <td align="left" style="width: 82px; text-align: left">
                                角&nbsp; 色 &nbsp;组&nbsp; :</td>
                            <td align="left">
                                <asp:DropDownList ID="drpRoleName" runat="server" SkinID="dropdownlistSkin" AutoPostBack="True" OnSelectedIndexChanged="drpRoleName_SelectedIndexChanged">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr style="background-color: #ced7f7">
                            <td align="left" style="width: 82px; text-align: left">
                                模 &nbsp; &nbsp;&nbsp; 块&nbsp; :</td>
                            <td align="left">
                                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:RadioButtonList ID="rdbModule" runat="server" AutoPostBack="True" OnSelectedIndexChanged="rdbModule_SelectedIndexChanged"
                                            RepeatColumns="5" RepeatDirection="Horizontal" SkinID="radiobuttonSkin">
                                        </asp:RadioButtonList>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr style="background-color: #ced7f7">
                            <td align="left" style="height: 60px; text-align: left; width: 82px;">
                                子&nbsp; 模&nbsp; 块&nbsp; :</td>
                            <td align="left">
                                <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:RadioButtonList ID="rdbChildModule" runat="server" AutoPostBack="True" RepeatColumns="3"
                                            RepeatDirection="Horizontal" SkinID="radiobuttonSkin" OnSelectedIndexChanged="rdbChildModule_SelectedIndexChanged">
                                        </asp:RadioButtonList>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="rdbModule" EventName="SelectedIndexChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr style="background-color: #ced7f7">
                            <td align="left" style="width: 82px; text-align: left">
                                权 限 名 称 :</td>
                            <td align="left">
                                <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:CheckBoxList ID="ckbPowerName" runat="server" AutoPostBack="True" RepeatColumns="5"
                                            RepeatDirection="Horizontal" SkinID="radiobuttonSkin">
                                        </asp:CheckBoxList>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="rdbModule" EventName="SelectedIndexChanged" />
                                        <asp:AsyncPostBackTrigger ControlID="rdbChildModule" EventName="SelectedIndexChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr style="background-color: #ced7f7">
                            <td align="left" colspan="2">
                                <asp:Button ID="btntijao" runat="server" OnClick="btntijao_Click" Text="赋予权限" SkinID="buttonSkin" />
                                &nbsp;&nbsp;
                                <asp:Button ID="btnchongzhi" runat="server" Text="重置" OnClick="btnchongzhi_Click"
                                    SkinID="buttonSkin" />&nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
